package com.code.mapper;

import com.code.domain.Activity;
import com.code.domain.Address;
import com.code.domain.Dish;
import com.code.domain.Type;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
public interface AddressMapper {
    Address search(Integer addressId);
    int addAddress(String AddressName);
    int deleteAddress(Integer addressId);
    int updateAddress(@Param("address") Address address);
    List<Address> searchAll();
}
